package cn.tedu.finance.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class InvoiceVO {
    @ApiModelProperty(value = "发票申请id")
    private Long id;
    @ApiModelProperty(value = "员工id")
    private Long userId;
    @ApiModelProperty(value = "员工姓名")
    private String username;
    @ApiModelProperty(value = "所属部门")
    private String department;
    @ApiModelProperty(value = "发票类型")
    private String typeInvoice;
    @ApiModelProperty(value = "开票金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "公司名称")
    private String companyName;
    @ApiModelProperty(value = "纳税号")
    private String taxNumber;
    @ApiModelProperty(value = "申请状态")
    private String statusInvoice;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    @ApiModelProperty(value = "开票说明")
    private String reason;
}
